function recentpostslist(json) {
document.write('<span class="chon-chuong" style="font-size: large;"> Chương: </span><select class="selectchapter" onchange="window.location=this[this.selectedIndex].value;">');
for (var i = 0; i < json.feed.entry.length; i++)
{
for (var j = 0; j < json.feed.entry[i].link.length; j++) {
if (json.feed.entry[i].link[j].rel == 'alternate') {
break;
}
}
var entryUrl = "'" + json.feed.entry[i].link[j].href + "'";//bs
var entryTitle = json.feed.entry[i].title.$t;
var item = "<option value="+ entryUrl + '>' + entryTitle + "</a> </option>";
                    $(".selectchapter option").each(function () {
                        var url = location.href;
                        if (url.indexOf($(this).attr('value')) != -1)
                            $(this).attr("selected", "selected");
                    });
document.write(item);
}
document.write('</select >');
$('.breadcrumbs a#ten-chuong').attr('href', location.href);});
document.getElementById('ten-chuong').innerHTML=document.title;
}


